﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

//  ToDo:
//      Allow selection of year to report.

namespace Northwind.NET.FE.Reports
{
    public partial class SalesTotalsByAmountReport : Form
    {
        //private int _year;
        //private decimal _amountMin;

        public SalesTotalsByAmountReport()
        {
            InitializeComponent();
        }

        private void SalesTotalsByAmountReport_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'simpleReportsDataSet.SalesTotalsByAmountReport' table. You can move, or remove it, as needed.
            this.salesTotalsByAmountReportTableAdapter.Fill(this.simpleReportsDataSet.SalesTotalsByAmountReport);
            this.reportViewer1.RefreshReport();
            this.WindowState = FormWindowState.Maximized;

            this.WindowState = FormWindowState.Maximized;  
        }

        private void SalesTotalsByAmountReport_FormClosed(object sender, FormClosedEventArgs e)
        {
            //Northwind.NET.FE.Globals.Navigator.UnhideMainSwitchboard();
        }

    }
}
